package com.sefer.dragonfly.client.core.listener.event;
public class EventContext<T> {

    private T         data;
    private EventType type;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public EventType getType() {
        return type;
    }

    public void setType(EventType type) {
        this.type = type;
    }

    public EventContext(T data, EventType type) {
        super();
        this.data = data;
        this.type = type;
    }

    public EventContext() {
        super();
    }

}